package com.yanqu.collectclientdata.controller;

import com.yanqu.collectclientdata.mgr.ClientLogMgr;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * 采集客户端数据
 */
@RestController
@RequestMapping("/sjcd")
public class CollectData {
    @RequestMapping(value = "/ul", method = {RequestMethod.GET})
    public Object StartUpdate(ClientLog clientLog) {
        ClientLogMgr.addClientLog(clientLog);
        return "{\"ret\": 0}";
    }
}
